#pragma once
#include "TesInclude.h"


class TES_EXPORT TesLexLocation
{
public:
	TesLexLocation( const TesLexLocation & location );
	TesLexLocation( int line, int column, const tstring & filename = t("") );

	int									GetLine() const									{ return mLine; }
	int									GetColumn() const								{ return mColumn; }
	const tstring &						GetFilename() const								{ return mFilename; }

	TesLexLocation &					operator=( const TesLexLocation & rhs );

	tstring								ToString() const;

	static const TesLexLocation			InvalidLocation;

private:
	int									mLine;
	int									mColumn;
	tstring								mFilename;
};